public class Numbers
{
   /**
      Computes the number of even and odd values in a given array
      @param values an array of integer values
      @return an array of length 2 whose 0 entry contains the count
      of even elements and whose 1 entry contains the count of odd
      values
   */
   public int[] evenOdds(int[] values)
   {
      // your work here
      int ji=0,ou=0;
      int l=values.length;
      for(int i=0;i<l;i++){
         if(values[i]%2==0)
         ou++;
         else
         ji++;
      }
      int[] su={ou,ji};
      return su;



   }
}